import { request } from '@/network/request.js'

// 修改密码
export const changePsw = function (entity) {
    return request.put('/person/passwd' , entity);
}

export const viewPersonInfo = function () {
    return request.get('/person' );
}

export const changePersonInfo = function (entity) {
    return request.put('/person' ,entity);
}